"""Poor mans config of related videos."""

__author__  =  'Tailgunner'
__project__ =  'MW:O Drop Planner'

from google.appengine.ext        import db

class Tutorials():
    
    @classmethod        
    def list(cls):
        """Returns a list of tutorial videos."""
        
        return [{
            'vid' :    "642262dd-d41b-483a-84ea-e9c3c46f8dde",
            'caption': "Starting a drop",
            'width':   730 ,
            'height':  376
        },{
            'vid' :    "24e4b7ed-d754-4a07-a96f-9cf2f95bd714",
            'caption': "Building your 'Mech",
            'width':   730 ,
            'height':  456
        },{
            'vid' :    "2f8dcdd6-0f62-4d58-9d58-9d6ff76cf465",
            'caption': "Using the garage",
            'width':   730 ,
            'height':  452
        },{
            'vid' :    "b0ec039f-dd06-4d61-b44f-66ffe6748a39",
            'caption': "Sharing the drop",
            'width':   730 ,
            'height':  432
        },{
            'vid' :    "b8cc2e51-389f-4b28-90a1-0abfbaed091d",
            'caption': "Managing the roster",
            'width':   730 ,
            'height':  404
        }]
    
class Instructions():
    
    @classmethod        
    def list(cls):
        """Returns a list of howto videos."""
        
        return [{
            'vid' :    "J9ZX4boFSik",
            'caption': "Installing Python",
            'text':    'You will need the Python program language, it\'s prerequisite for the AppenEnginge-SDK.',
            'link':    'http://www.python.org/getit/releases/2.7.6/',
            'width':   640,
            'height':  480
        },{
            'vid' :    "4gcSHW9dtL0",
            'caption': "Installing Appengine",
            'text':    'You will need the AppenEnginge-SDK so you can deploy the planner to the web.',
            'link':    'https://developers.google.com/appengine/downloads#Google_App_Engine_SDK_for_Python',
            'width':   640,
            'height':  480
        },{
            'vid' :    "ihndgDr3rpA",
            'caption': "Installing the source code",
            'text':    'You will also need the drop planner sourcecode.',
            'link':    'https://code.google.com/p/mwo-drop-planner-source/',
            'width':   640,
            'height':  480
        },{
            'vid' :    "YUzXeQqdkMM",
            'caption': "Local Testing",
            'text':    'See if everything worked.',
            'width':   640,
            'height':  480
        },{
            'vid' :    "YeF8rmi6mzQ",
            'caption': "Creating an appengine project",
            'text':    'You will need to host your planner somewhere.',
            'width':   640,
            'height':  480
        },{
            'vid' :    "UMN2S5Ei6z8",
            'caption': "Configuring MW:O Drop Planner ",
            'text':    'You will have to edit some files to custimize the sourcecode.',
            'width':   640,
            'height':  480
        },{
            'vid' :    "_vktxDxupAQ",
            'caption': "Uploading sourcecode",
            'text':    'You can then put your changes online.',
            'width':   640,
            'height':  480
        }]
    
